﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace CharacterTool
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new MainForm());

            // Instantiate the Main Form.
            MainForm MasterForm = new MainForm();

            // Display the form.
            MasterForm.Show();

            // Simulate a game loop.
            while (MasterForm.m_bRunning)
            {
                MasterForm.Update();
                MasterForm.Process();
                MasterForm.Render();
                Application.DoEvents();
            }
        }
    }
}